//
//  WSBNearItemModel.m
//  NuoMi
//
//  Created by ios on 16/1/15.
//  Copyright © 2016年 iOSwusanbao. All rights reserved.
//

#import "WSBNearItemModel.h"

@implementation WSBNearItemModel

+(NSDictionary *)JSONKeyPathsByPropertyKey{
    return @{
             @"poi_list":@"poi_list"
             };
}

+(NSValueTransformer *)poi_listJSONTransformer {
    return [MTLJSONAdapter arrayTransformerWithModelClass:[WSBPoiListModel class]];
    
}

@end

@implementation WSBPoiListModel

+(NSDictionary *)JSONKeyPathsByPropertyKey{
    return @{
             @"poi_name":@"poi_name",
             @"poi_id":@"poi_id",
             @"poi_distance":@"poi_distance",
             @"bizarea_title":@"bizarea_title",
             @"tuan_list":@"tuan_list",
             
             @"ugc":@"ugc",
             @"special_label":@"special_label",
             @"poi_image":@"poi_image"
             };
}

+(NSValueTransformer *)tuan_listJSONTransformer {
    return [MTLJSONAdapter arrayTransformerWithModelClass:[WSBNearTuanListModel class]];
    
}

@end

@implementation WSBNearTuanListModel

+(NSDictionary *)JSONKeyPathsByPropertyKey{
    return @{
             @"deal_id":@"deal_id",
             @"image":@"image",
             @"brand_name":@"brand_name",
             @"short_title":@"short_title",
             @"groupon_price":@"groupon_price",
             
             @"market_price":@"market_price",
             @"other_desc":@"other_desc",
             @"favour_list":@"favour_list",
             };
}

@end

